var day = parseInt(form.day.value);